Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove lazy_static dependency in favor of std OnceLock #133

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AlexTMjugador
Copy link

The MSRV of this crate is higher than 1.70, which introduced std::sync::OnceLock, a type which can act as a similarly ergonomic replacement for the lazy_static and once_cell crates. Pulling the least dependencies is always welcome by users of a library such as rrule, so let's replace uses of lazy_lock with OnceLock.

@AlexTMjugador
Copy link
Author

The reported Clippy lint failures should be fixed by #131.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant